#!/usr/bin/php -q

<?php
/*******************************************************************************
 * 
 * 
 * debug.test.php
 * 
 *******************************************************************************
 * 
 * @author Stanislas PERRIN <stanislas.perrin@gmail.com>
 * @licence LGPL v. 3.0
 * 
 *******************************************************************************
 * 
 * Purpose
 * -------
 * Testung debug.class.php
 * 
 ******************************************************************************/

$_DEBUG_SENDMAIL = false;
$_DEBUG_WRITELOG = false;
$_DEBUG_SHOWERROR = false;
$_DEBUG_LOGPATH = './log';
$_DEBUG_APPNAME = 'test';
$_DEBUG_VERBOSE = 'VVV';
$_DEBUG_MAILFROM = 'appname@domain.com';
$_DEBUG_MAILTO = array('stanislas.perrin@gmail.com');

// Activates SYSLOG on errors -- dunno what happens if "true" on Windows platforms...
$_DEBUG_SYSLOG = false;

 
// Network parameters
$_DEBUG_NETWORK = true;
$_DEBUG_NETWORK_SOURCE_IP = 'localhost'; // local IP
$_DEBUG_NETWORK_DESTINATION_IP = 'localhost'; // distant IP
$_DEBUG_NETWORK_SOURCE_PORT = 0;
$_DEBUG_NETWORK_DESTINATION_PORT = 888;
 

include_once('../debug.class.php');

throw new debug('Error test !',999);

?>
